package com.itqf.mapper;

import com.itqf.entity.Passenger;
import com.itqf.ext.PassengerExt;

import java.util.List;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/11/5
 * @Time: 下午2:41
 */
public interface PassengerMapper {

    /**
     * resultMap做结果映射
     * @return
     */
    public List<Passenger>  findAll();

    /**
     * resultType做结果映射  映射到一个扩展类中
     * @return
     */
    public List<PassengerExt>  findPassengerExtAll();

    public   int delete(int id);

}
